As we may be flipping the box pointer in response to re-allocation,
like the addition of a new actor to the boxpointer, we can't queue
a re-layout while in a re-layout, so defer.
https://bugzilla.gnome.org/show_bug.cgi?id=690608
if (this._arrowSide != arrowSide) {
this._arrowSide = arrowSide;
this._reposition();
- this._container.queue_relayout();
+ Meta.later_add(Meta.LaterType.BEFORE_REDRAW, Lang.bind(this, function() {
+ this._container.queue_relayout();
+ return false;
+ }));
}
},